package com.indicator.base.constant;

public final class ControllerConstants {

    public static final String INDICATOR = "/indicator/";
    public static final String INDICATOR_REDIS = "indicator:";
    public static final String FORMULA_REDIS = "formula:";
    public static final String INDICATOR_FORMULA = "/formula/";


    public static final String ADD = "add";
    public static final String UPDATE = "update";
    public static final String DELETE = "delete";
    public static final String GET = "get";
    public static final String DIAGONAL = "/";
    public static final String KEY = "{key}";


    public static final String OK = "ok";
    public static final String EXITS = "exits";
    public static final String FAIL = "fail";


    public static final byte COMPUTE_TYPE_ADD = 1;
    public static final byte COMPUTE_TYPE_SUB = 2;
    public static final byte COMPUTE_TYPE_MUL = 3;
    public static final byte COMPUTE_TYPE_DIVIDE = 4;
    public static final byte COMPUTE_TYPE_NONE = 0;

    public static final byte IS_COMPUTE_YES = 1;
    public static final byte IS_COMPUTE_NO = 0;

    public static final String COMPUTE_TYPE_KEY = "type";
    public static final String COMPUTE_SUB_KEY = "subKey";
    public static final String COMPUTE_TYPE_DEFAULT_VALUE = "value";
    public static final String IS_COMPUTE = "isCompute";

}
